package com.zhou.yygh.hosp.service;


import org.springframework.data.domain.Page;
import zhou.hospital.model.hosp.Department;
import zhou.hospital.vo.hosp.DepartmentQueryVo;
import zhou.hospital.vo.hosp.DepartmentVo;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> findPageDepartment(Integer page, Integer limit, DepartmentQueryVo departmentQueryVo);

    void deleteDept(String hoscode, String depcode);

    List<DepartmentVo> getDeptTree(String hoscode);

    String getDepName(String hoscode,String depcode);

    Department getDepartment(String hoscode, String depcode);
}
